<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>教师端--个人信息-页面</title>
    <!-- 自定义title图标 favicon -->
    <link rel="icon" href="/helps/img/favicon.ico"  type="image/png">
    <!-- Bootstrap core CSS -->
    <link href="/plugins/bootstrap-4.0.0/css/bootstrap.min.css"  rel="stylesheet">
    <!-- 自定义样式 -->
    <link href="/helps/css/bottom.css"  rel="stylesheet">
    <style type="text/css">
        /* Chart.js */

        @-webkit-keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        @keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        .chartjs-render-monitor {
            -webkit-animation: chartjs-render-animation 0.001s;
            animation: chartjs-render-animation 0.001s;
        }
        .form-horizontal {
            max-width: 500px;
            margin: 0 auto;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 10px;
            background-color: #f3fdef;
        }
        .btn-custom {
            background-color: #a6cfa6;
            color: white;
            border: none;
        }
        .btn-custom:hover {
            background-color: #90ee90;
        }
    </style>
</head>

<body>
<!--引入抽取的topbar-->
<!--模板名：会使用thymeleaf的前后缀配置规则进行解析-->
<div th:replace="commons/teabar::topbar"></div>

<div class="container-fluid">
    <div class="row">
        <!--引入侧边栏-->
        <div th:replace="commons/teabar::#sidebar(activeUri='msg')"></div>
        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <form th:action="@{/tea/updateTeaMsg}" method="post" class="form-horizontal">
                <input type="hidden" name="_method" value="put" />
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-3 control-label">密码</label>
                    <div class="col-sm-9">
                        <input name="teaPass" type="text" class="form-control" id="inputPassword3" placeholder="请输入密码" th:value="${tea != null} ? ${tea.teaPass} : ''">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputTele3" class="col-sm-3 control-label">电话</label>
                    <div class="col-sm-9">
                        <input name="teaTele" type="text" class="form-control" id="inputTele3" placeholder="请输入电话号码" th:value="${tea != null} ? ${tea.teaTele} : ''">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-3 col-sm-9">
                        <button type="submit" class="btn btn-custom">修改</button>
                    </div>
                </div>
            </form>

        </main>
    </div>
</div>

<script type="text/javascript" src="/helps/js/jquery-3.7.1.min.js" ></script>
<script src="https://unpkg.com/@popperjs/core@2"></script>&ndash;&gt;-->
<script type="text/javascript" src="/plugins/bootstrap-4.0.0/js/bootstrap.min.js" ></script>

<!-- Icons -->
<script type="text/javascript" src="/helps/js/feather.min.js" ></script>
<script>
    feather.replace();
</script>
</body>
</html>